package com.dwxt.cdms.entity.yeying;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YeYingDataExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YeYingDataExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Integer value) {
            addCriterion("customer_id <", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customer_id");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausIsNull() {
            addCriterion("peopleSataus is null");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausIsNotNull() {
            addCriterion("peopleSataus is not null");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausEqualTo(Integer value) {
            addCriterion("peopleSataus =", value, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausNotEqualTo(Integer value) {
            addCriterion("peopleSataus <>", value, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausGreaterThan(Integer value) {
            addCriterion("peopleSataus >", value, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausGreaterThanOrEqualTo(Integer value) {
            addCriterion("peopleSataus >=", value, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausLessThan(Integer value) {
            addCriterion("peopleSataus <", value, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausLessThanOrEqualTo(Integer value) {
            addCriterion("peopleSataus <=", value, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausIn(List<Integer> values) {
            addCriterion("peopleSataus in", values, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausNotIn(List<Integer> values) {
            addCriterion("peopleSataus not in", values, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausBetween(Integer value1, Integer value2) {
            addCriterion("peopleSataus between", value1, value2, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andPeopleSatausNotBetween(Integer value1, Integer value2) {
            addCriterion("peopleSataus not between", value1, value2, "peopleSataus");
            return (Criteria) this;
        }

        public Criteria andMm_versionIsNull() {
            addCriterion("mm_version is null");
            return (Criteria) this;
        }

        public Criteria andMm_versionIsNotNull() {
            addCriterion("mm_version is not null");
            return (Criteria) this;
        }

        public Criteria andMm_versionEqualTo(Integer value) {
            addCriterion("mm_version =", value, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionNotEqualTo(Integer value) {
            addCriterion("mm_version <>", value, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionGreaterThan(Integer value) {
            addCriterion("mm_version >", value, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionGreaterThanOrEqualTo(Integer value) {
            addCriterion("mm_version >=", value, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionLessThan(Integer value) {
            addCriterion("mm_version <", value, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionLessThanOrEqualTo(Integer value) {
            addCriterion("mm_version <=", value, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionIn(List<Integer> values) {
            addCriterion("mm_version in", values, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionNotIn(List<Integer> values) {
            addCriterion("mm_version not in", values, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionBetween(Integer value1, Integer value2) {
            addCriterion("mm_version between", value1, value2, "mm_version");
            return (Criteria) this;
        }

        public Criteria andMm_versionNotBetween(Integer value1, Integer value2) {
            addCriterion("mm_version not between", value1, value2, "mm_version");
            return (Criteria) this;
        }

        public Criteria andIccidIsNull() {
            addCriterion("iccid is null");
            return (Criteria) this;
        }

        public Criteria andIccidIsNotNull() {
            addCriterion("iccid is not null");
            return (Criteria) this;
        }

        public Criteria andIccidEqualTo(String value) {
            addCriterion("iccid =", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidNotEqualTo(String value) {
            addCriterion("iccid <>", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidGreaterThan(String value) {
            addCriterion("iccid >", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidGreaterThanOrEqualTo(String value) {
            addCriterion("iccid >=", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidLessThan(String value) {
            addCriterion("iccid <", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidLessThanOrEqualTo(String value) {
            addCriterion("iccid <=", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidLike(String value) {
            addCriterion("iccid like", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidNotLike(String value) {
            addCriterion("iccid not like", value, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidIn(List<String> values) {
            addCriterion("iccid in", values, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidNotIn(List<String> values) {
            addCriterion("iccid not in", values, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidBetween(String value1, String value2) {
            addCriterion("iccid between", value1, value2, "iccid");
            return (Criteria) this;
        }

        public Criteria andIccidNotBetween(String value1, String value2) {
            addCriterion("iccid not between", value1, value2, "iccid");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthIsNull() {
            addCriterion("peoplehealth is null");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthIsNotNull() {
            addCriterion("peoplehealth is not null");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthEqualTo(String value) {
            addCriterion("peoplehealth =", value, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthNotEqualTo(String value) {
            addCriterion("peoplehealth <>", value, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthGreaterThan(String value) {
            addCriterion("peoplehealth >", value, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthGreaterThanOrEqualTo(String value) {
            addCriterion("peoplehealth >=", value, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthLessThan(String value) {
            addCriterion("peoplehealth <", value, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthLessThanOrEqualTo(String value) {
            addCriterion("peoplehealth <=", value, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthLike(String value) {
            addCriterion("peoplehealth like", value, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthNotLike(String value) {
            addCriterion("peoplehealth not like", value, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthIn(List<String> values) {
            addCriterion("peoplehealth in", values, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthNotIn(List<String> values) {
            addCriterion("peoplehealth not in", values, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthBetween(String value1, String value2) {
            addCriterion("peoplehealth between", value1, value2, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andPeoplehealthNotBetween(String value1, String value2) {
            addCriterion("peoplehealth not between", value1, value2, "peoplehealth");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("deviceId is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("deviceId is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("deviceId =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("deviceId <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("deviceId >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("deviceId >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("deviceId <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("deviceId <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("deviceId like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("deviceId not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("deviceId in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("deviceId not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("deviceId between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("deviceId not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andPhonestateIsNull() {
            addCriterion("phonestate is null");
            return (Criteria) this;
        }

        public Criteria andPhonestateIsNotNull() {
            addCriterion("phonestate is not null");
            return (Criteria) this;
        }

        public Criteria andPhonestateEqualTo(Integer value) {
            addCriterion("phonestate =", value, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateNotEqualTo(Integer value) {
            addCriterion("phonestate <>", value, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateGreaterThan(Integer value) {
            addCriterion("phonestate >", value, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateGreaterThanOrEqualTo(Integer value) {
            addCriterion("phonestate >=", value, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateLessThan(Integer value) {
            addCriterion("phonestate <", value, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateLessThanOrEqualTo(Integer value) {
            addCriterion("phonestate <=", value, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateIn(List<Integer> values) {
            addCriterion("phonestate in", values, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateNotIn(List<Integer> values) {
            addCriterion("phonestate not in", values, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateBetween(Integer value1, Integer value2) {
            addCriterion("phonestate between", value1, value2, "phonestate");
            return (Criteria) this;
        }

        public Criteria andPhonestateNotBetween(Integer value1, Integer value2) {
            addCriterion("phonestate not between", value1, value2, "phonestate");
            return (Criteria) this;
        }

        public Criteria andLngIsNull() {
            addCriterion("lng is null");
            return (Criteria) this;
        }

        public Criteria andLngIsNotNull() {
            addCriterion("lng is not null");
            return (Criteria) this;
        }

        public Criteria andLngEqualTo(String value) {
            addCriterion("lng =", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotEqualTo(String value) {
            addCriterion("lng <>", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngGreaterThan(String value) {
            addCriterion("lng >", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngGreaterThanOrEqualTo(String value) {
            addCriterion("lng >=", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLessThan(String value) {
            addCriterion("lng <", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLessThanOrEqualTo(String value) {
            addCriterion("lng <=", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLike(String value) {
            addCriterion("lng like", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotLike(String value) {
            addCriterion("lng not like", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngIn(List<String> values) {
            addCriterion("lng in", values, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotIn(List<String> values) {
            addCriterion("lng not in", values, "lng");
            return (Criteria) this;
        }

        public Criteria andLngBetween(String value1, String value2) {
            addCriterion("lng between", value1, value2, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotBetween(String value1, String value2) {
            addCriterion("lng not between", value1, value2, "lng");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(String value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(String value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(String value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(String value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(String value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(String value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLike(String value) {
            addCriterion("version like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotLike(String value) {
            addCriterion("version not like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<String> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<String> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(String value1, String value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(String value1, String value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andErrNumIsNull() {
            addCriterion("ErrNum is null");
            return (Criteria) this;
        }

        public Criteria andErrNumIsNotNull() {
            addCriterion("ErrNum is not null");
            return (Criteria) this;
        }

        public Criteria andErrNumEqualTo(Integer value) {
            addCriterion("ErrNum =", value, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumNotEqualTo(Integer value) {
            addCriterion("ErrNum <>", value, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumGreaterThan(Integer value) {
            addCriterion("ErrNum >", value, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("ErrNum >=", value, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumLessThan(Integer value) {
            addCriterion("ErrNum <", value, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumLessThanOrEqualTo(Integer value) {
            addCriterion("ErrNum <=", value, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumIn(List<Integer> values) {
            addCriterion("ErrNum in", values, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumNotIn(List<Integer> values) {
            addCriterion("ErrNum not in", values, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumBetween(Integer value1, Integer value2) {
            addCriterion("ErrNum between", value1, value2, "errNum");
            return (Criteria) this;
        }

        public Criteria andErrNumNotBetween(Integer value1, Integer value2) {
            addCriterion("ErrNum not between", value1, value2, "errNum");
            return (Criteria) this;
        }

        public Criteria andLatIsNull() {
            addCriterion("lat is null");
            return (Criteria) this;
        }

        public Criteria andLatIsNotNull() {
            addCriterion("lat is not null");
            return (Criteria) this;
        }

        public Criteria andLatEqualTo(String value) {
            addCriterion("lat =", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotEqualTo(String value) {
            addCriterion("lat <>", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatGreaterThan(String value) {
            addCriterion("lat >", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatGreaterThanOrEqualTo(String value) {
            addCriterion("lat >=", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLessThan(String value) {
            addCriterion("lat <", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLessThanOrEqualTo(String value) {
            addCriterion("lat <=", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLike(String value) {
            addCriterion("lat like", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotLike(String value) {
            addCriterion("lat not like", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatIn(List<String> values) {
            addCriterion("lat in", values, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotIn(List<String> values) {
            addCriterion("lat not in", values, "lat");
            return (Criteria) this;
        }

        public Criteria andLatBetween(String value1, String value2) {
            addCriterion("lat between", value1, value2, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotBetween(String value1, String value2) {
            addCriterion("lat not between", value1, value2, "lat");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberIsNull() {
            addCriterion("peopleNumber is null");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberIsNotNull() {
            addCriterion("peopleNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberEqualTo(Integer value) {
            addCriterion("peopleNumber =", value, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberNotEqualTo(Integer value) {
            addCriterion("peopleNumber <>", value, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberGreaterThan(Integer value) {
            addCriterion("peopleNumber >", value, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("peopleNumber >=", value, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberLessThan(Integer value) {
            addCriterion("peopleNumber <", value, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberLessThanOrEqualTo(Integer value) {
            addCriterion("peopleNumber <=", value, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberIn(List<Integer> values) {
            addCriterion("peopleNumber in", values, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberNotIn(List<Integer> values) {
            addCriterion("peopleNumber not in", values, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberBetween(Integer value1, Integer value2) {
            addCriterion("peopleNumber between", value1, value2, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andPeopleNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("peopleNumber not between", value1, value2, "peopleNumber");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeEqualTo(Date value) {
            addCriterion("create_time =", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThan(Date value) {
            addCriterion("create_time >", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThan(Date value) {
            addCriterion("create_time <", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIn(List<Date> values) {
            addCriterion("create_time in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "create_time");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}